package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class OrderrecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public OrderrecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrrnoIsNull() {
            addCriterion("orrno is null");
            return (Criteria) this;
        }

        public Criteria andOrrnoIsNotNull() {
            addCriterion("orrno is not null");
            return (Criteria) this;
        }

        public Criteria andOrrnoEqualTo(String value) {
            addCriterion("orrno =", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoNotEqualTo(String value) {
            addCriterion("orrno <>", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoGreaterThan(String value) {
            addCriterion("orrno >", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoGreaterThanOrEqualTo(String value) {
            addCriterion("orrno >=", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoLessThan(String value) {
            addCriterion("orrno <", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoLessThanOrEqualTo(String value) {
            addCriterion("orrno <=", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoLike(String value) {
            addCriterion("orrno like", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoNotLike(String value) {
            addCriterion("orrno not like", value, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoIn(List<String> values) {
            addCriterion("orrno in", values, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoNotIn(List<String> values) {
            addCriterion("orrno not in", values, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoBetween(String value1, String value2) {
            addCriterion("orrno between", value1, value2, "orrno");
            return (Criteria) this;
        }

        public Criteria andOrrnoNotBetween(String value1, String value2) {
            addCriterion("orrno not between", value1, value2, "orrno");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNull() {
            addCriterion("prno is null");
            return (Criteria) this;
        }

        public Criteria andPrnoIsNotNull() {
            addCriterion("prno is not null");
            return (Criteria) this;
        }

        public Criteria andPrnoEqualTo(String value) {
            addCriterion("prno =", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotEqualTo(String value) {
            addCriterion("prno <>", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThan(String value) {
            addCriterion("prno >", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoGreaterThanOrEqualTo(String value) {
            addCriterion("prno >=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThan(String value) {
            addCriterion("prno <", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLessThanOrEqualTo(String value) {
            addCriterion("prno <=", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoLike(String value) {
            addCriterion("prno like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotLike(String value) {
            addCriterion("prno not like", value, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoIn(List<String> values) {
            addCriterion("prno in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotIn(List<String> values) {
            addCriterion("prno not in", values, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoBetween(String value1, String value2) {
            addCriterion("prno between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andPrnoNotBetween(String value1, String value2) {
            addCriterion("prno not between", value1, value2, "prno");
            return (Criteria) this;
        }

        public Criteria andPnoIsNull() {
            addCriterion("pno is null");
            return (Criteria) this;
        }

        public Criteria andPnoIsNotNull() {
            addCriterion("pno is not null");
            return (Criteria) this;
        }

        public Criteria andPnoEqualTo(String value) {
            addCriterion("pno =", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotEqualTo(String value) {
            addCriterion("pno <>", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThan(String value) {
            addCriterion("pno >", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThanOrEqualTo(String value) {
            addCriterion("pno >=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThan(String value) {
            addCriterion("pno <", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThanOrEqualTo(String value) {
            addCriterion("pno <=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLike(String value) {
            addCriterion("pno like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotLike(String value) {
            addCriterion("pno not like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoIn(List<String> values) {
            addCriterion("pno in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotIn(List<String> values) {
            addCriterion("pno not in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoBetween(String value1, String value2) {
            addCriterion("pno between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotBetween(String value1, String value2) {
            addCriterion("pno not between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andOrrnameIsNull() {
            addCriterion("orrName is null");
            return (Criteria) this;
        }

        public Criteria andOrrnameIsNotNull() {
            addCriterion("orrName is not null");
            return (Criteria) this;
        }

        public Criteria andOrrnameEqualTo(String value) {
            addCriterion("orrName =", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameNotEqualTo(String value) {
            addCriterion("orrName <>", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameGreaterThan(String value) {
            addCriterion("orrName >", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameGreaterThanOrEqualTo(String value) {
            addCriterion("orrName >=", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameLessThan(String value) {
            addCriterion("orrName <", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameLessThanOrEqualTo(String value) {
            addCriterion("orrName <=", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameLike(String value) {
            addCriterion("orrName like", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameNotLike(String value) {
            addCriterion("orrName not like", value, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameIn(List<String> values) {
            addCriterion("orrName in", values, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameNotIn(List<String> values) {
            addCriterion("orrName not in", values, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameBetween(String value1, String value2) {
            addCriterion("orrName between", value1, value2, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrrnameNotBetween(String value1, String value2) {
            addCriterion("orrName not between", value1, value2, "orrname");
            return (Criteria) this;
        }

        public Criteria andOrbegindateIsNull() {
            addCriterion("orBeginDate is null");
            return (Criteria) this;
        }

        public Criteria andOrbegindateIsNotNull() {
            addCriterion("orBeginDate is not null");
            return (Criteria) this;
        }

        public Criteria andOrbegindateEqualTo(String value) {
            addCriterion("orBeginDate =", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateNotEqualTo(String value) {
            addCriterion("orBeginDate <>", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateGreaterThan(String value) {
            addCriterion("orBeginDate >", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateGreaterThanOrEqualTo(String value) {
            addCriterion("orBeginDate >=", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateLessThan(String value) {
            addCriterion("orBeginDate <", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateLessThanOrEqualTo(String value) {
            addCriterion("orBeginDate <=", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateLike(String value) {
            addCriterion("orBeginDate like", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateNotLike(String value) {
            addCriterion("orBeginDate not like", value, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateIn(List<String> values) {
            addCriterion("orBeginDate in", values, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateNotIn(List<String> values) {
            addCriterion("orBeginDate not in", values, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateBetween(String value1, String value2) {
            addCriterion("orBeginDate between", value1, value2, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrbegindateNotBetween(String value1, String value2) {
            addCriterion("orBeginDate not between", value1, value2, "orbegindate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateIsNull() {
            addCriterion("orrFinshDate is null");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateIsNotNull() {
            addCriterion("orrFinshDate is not null");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateEqualTo(String value) {
            addCriterion("orrFinshDate =", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateNotEqualTo(String value) {
            addCriterion("orrFinshDate <>", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateGreaterThan(String value) {
            addCriterion("orrFinshDate >", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateGreaterThanOrEqualTo(String value) {
            addCriterion("orrFinshDate >=", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateLessThan(String value) {
            addCriterion("orrFinshDate <", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateLessThanOrEqualTo(String value) {
            addCriterion("orrFinshDate <=", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateLike(String value) {
            addCriterion("orrFinshDate like", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateNotLike(String value) {
            addCriterion("orrFinshDate not like", value, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateIn(List<String> values) {
            addCriterion("orrFinshDate in", values, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateNotIn(List<String> values) {
            addCriterion("orrFinshDate not in", values, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateBetween(String value1, String value2) {
            addCriterion("orrFinshDate between", value1, value2, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrfinshdateNotBetween(String value1, String value2) {
            addCriterion("orrFinshDate not between", value1, value2, "orrfinshdate");
            return (Criteria) this;
        }

        public Criteria andOrrpriceIsNull() {
            addCriterion("orrPrice is null");
            return (Criteria) this;
        }

        public Criteria andOrrpriceIsNotNull() {
            addCriterion("orrPrice is not null");
            return (Criteria) this;
        }

        public Criteria andOrrpriceEqualTo(String value) {
            addCriterion("orrPrice =", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceNotEqualTo(String value) {
            addCriterion("orrPrice <>", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceGreaterThan(String value) {
            addCriterion("orrPrice >", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceGreaterThanOrEqualTo(String value) {
            addCriterion("orrPrice >=", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceLessThan(String value) {
            addCriterion("orrPrice <", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceLessThanOrEqualTo(String value) {
            addCriterion("orrPrice <=", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceLike(String value) {
            addCriterion("orrPrice like", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceNotLike(String value) {
            addCriterion("orrPrice not like", value, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceIn(List<String> values) {
            addCriterion("orrPrice in", values, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceNotIn(List<String> values) {
            addCriterion("orrPrice not in", values, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceBetween(String value1, String value2) {
            addCriterion("orrPrice between", value1, value2, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpriceNotBetween(String value1, String value2) {
            addCriterion("orrPrice not between", value1, value2, "orrprice");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentIsNull() {
            addCriterion("orrPayment is null");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentIsNotNull() {
            addCriterion("orrPayment is not null");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentEqualTo(String value) {
            addCriterion("orrPayment =", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentNotEqualTo(String value) {
            addCriterion("orrPayment <>", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentGreaterThan(String value) {
            addCriterion("orrPayment >", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentGreaterThanOrEqualTo(String value) {
            addCriterion("orrPayment >=", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentLessThan(String value) {
            addCriterion("orrPayment <", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentLessThanOrEqualTo(String value) {
            addCriterion("orrPayment <=", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentLike(String value) {
            addCriterion("orrPayment like", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentNotLike(String value) {
            addCriterion("orrPayment not like", value, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentIn(List<String> values) {
            addCriterion("orrPayment in", values, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentNotIn(List<String> values) {
            addCriterion("orrPayment not in", values, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentBetween(String value1, String value2) {
            addCriterion("orrPayment between", value1, value2, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymentNotBetween(String value1, String value2) {
            addCriterion("orrPayment not between", value1, value2, "orrpayment");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeIsNull() {
            addCriterion("orrPaymentType is null");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeIsNotNull() {
            addCriterion("orrPaymentType is not null");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeEqualTo(Integer value) {
            addCriterion("orrPaymentType =", value, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeNotEqualTo(Integer value) {
            addCriterion("orrPaymentType <>", value, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeGreaterThan(Integer value) {
            addCriterion("orrPaymentType >", value, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("orrPaymentType >=", value, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeLessThan(Integer value) {
            addCriterion("orrPaymentType <", value, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeLessThanOrEqualTo(Integer value) {
            addCriterion("orrPaymentType <=", value, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeIn(List<Integer> values) {
            addCriterion("orrPaymentType in", values, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeNotIn(List<Integer> values) {
            addCriterion("orrPaymentType not in", values, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeBetween(Integer value1, Integer value2) {
            addCriterion("orrPaymentType between", value1, value2, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrpaymenttypeNotBetween(Integer value1, Integer value2) {
            addCriterion("orrPaymentType not between", value1, value2, "orrpaymenttype");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressIsNull() {
            addCriterion("orrReceivingAddress is null");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressIsNotNull() {
            addCriterion("orrReceivingAddress is not null");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressEqualTo(String value) {
            addCriterion("orrReceivingAddress =", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressNotEqualTo(String value) {
            addCriterion("orrReceivingAddress <>", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressGreaterThan(String value) {
            addCriterion("orrReceivingAddress >", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressGreaterThanOrEqualTo(String value) {
            addCriterion("orrReceivingAddress >=", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressLessThan(String value) {
            addCriterion("orrReceivingAddress <", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressLessThanOrEqualTo(String value) {
            addCriterion("orrReceivingAddress <=", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressLike(String value) {
            addCriterion("orrReceivingAddress like", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressNotLike(String value) {
            addCriterion("orrReceivingAddress not like", value, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressIn(List<String> values) {
            addCriterion("orrReceivingAddress in", values, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressNotIn(List<String> values) {
            addCriterion("orrReceivingAddress not in", values, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressBetween(String value1, String value2) {
            addCriterion("orrReceivingAddress between", value1, value2, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrreceivingaddressNotBetween(String value1, String value2) {
            addCriterion("orrReceivingAddress not between", value1, value2, "orrreceivingaddress");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeIsNull() {
            addCriterion("orrDescribe is null");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeIsNotNull() {
            addCriterion("orrDescribe is not null");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeEqualTo(String value) {
            addCriterion("orrDescribe =", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeNotEqualTo(String value) {
            addCriterion("orrDescribe <>", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeGreaterThan(String value) {
            addCriterion("orrDescribe >", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeGreaterThanOrEqualTo(String value) {
            addCriterion("orrDescribe >=", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeLessThan(String value) {
            addCriterion("orrDescribe <", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeLessThanOrEqualTo(String value) {
            addCriterion("orrDescribe <=", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeLike(String value) {
            addCriterion("orrDescribe like", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeNotLike(String value) {
            addCriterion("orrDescribe not like", value, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeIn(List<String> values) {
            addCriterion("orrDescribe in", values, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeNotIn(List<String> values) {
            addCriterion("orrDescribe not in", values, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeBetween(String value1, String value2) {
            addCriterion("orrDescribe between", value1, value2, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrdescribeNotBetween(String value1, String value2) {
            addCriterion("orrDescribe not between", value1, value2, "orrdescribe");
            return (Criteria) this;
        }

        public Criteria andOrrstateIsNull() {
            addCriterion("orrState is null");
            return (Criteria) this;
        }

        public Criteria andOrrstateIsNotNull() {
            addCriterion("orrState is not null");
            return (Criteria) this;
        }

        public Criteria andOrrstateEqualTo(Integer value) {
            addCriterion("orrState =", value, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateNotEqualTo(Integer value) {
            addCriterion("orrState <>", value, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateGreaterThan(Integer value) {
            addCriterion("orrState >", value, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("orrState >=", value, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateLessThan(Integer value) {
            addCriterion("orrState <", value, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateLessThanOrEqualTo(Integer value) {
            addCriterion("orrState <=", value, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateIn(List<Integer> values) {
            addCriterion("orrState in", values, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateNotIn(List<Integer> values) {
            addCriterion("orrState not in", values, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateBetween(Integer value1, Integer value2) {
            addCriterion("orrState between", value1, value2, "orrstate");
            return (Criteria) this;
        }

        public Criteria andOrrstateNotBetween(Integer value1, Integer value2) {
            addCriterion("orrState not between", value1, value2, "orrstate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}